package com.ui.holder;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.core.sdk.ui.holder.BaseViewHolder;
import com.ui.R;
import com.ui.model.Test;

public class TestHolder extends BaseViewHolder<Test, Void> {

	private static final String TAG = "TestHolder";

	public TestHolder(View rootView, Context act) {
		super(rootView, act);
	}

	TextView tv;

	@Override
	protected void onInitViews(View view) {
		tv = find(R.id.item_test_tv);
	}

	@Override
	protected void onBindItem() {
		tv.setText(getItem().getData().getText());
	}

	@Override
	protected void onResetViews() {

	}

	@Override
	protected void onRecycleItem() {

	}

	@Override
	protected void onRefreshView() {
	}

	@Override
	protected void onDestroy() {

	}

}
